Skip to content

gh-138191: Document frame.f_generator in the data model#138540

Merged
AA-Turner merged 6 commits intopython:mainfrom
dbXD320:doc-add-f_generator
Sep 5, 2025
Merged

gh-138191: Document frame.f_generator in the data model#138540
AA-Turner merged 6 commits intopython:mainfrom
dbXD320:doc-add-f_generator

Conversation

@dbXD320
Copy link
Contributor

@dbXD320 dbXD320 commented Sep 5, 2025

This PR adds the f_generator attribute to the Data model documentation page
(Doc/reference/datamodel.rst).

The f_generator attribute was already described in inspect.rst but was missing
from datamodel.rst. This change ensures that the Data model page is consistent
with the inspection documentation and fully documents all frame object attributes.

Additionally, an index entry for f_generator has been added so it appears in the
documentation search.

fixes #138191


📚 Documentation preview 📚: https://cpython-previews--138540.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Datamodel's description of frameobject missing the new f_generator attribute

4 participants